import request from '@/utils/request'

export function getModeList() {
  return request({
    url: `/version/list`,
    method: 'get'
  })
}

export function getModeId() {
  return request({
    url: '/version/getModelVersion',
    method: 'get'
  })
}

export function setMode(id) {
  return request({
    url: `/version/setModelVersion?version=${id}`,
    method: 'get'
  })
}
